<?php
	$sql="UPDATE tbl_product_type SET
	`name`='$_POST[name]',
	`detail`='$_POST[detail]'					 
	WHERE id='$_POST[guid]'";
	$res=mysql_query($sql);
			
	if(!$res)
		echo "<script>history.go(-1)</script>";
	else
		echo "<script>window.location='?zone=product_type'</script>";
?>

